<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Datum</title>
</head>
<body>
<h1>Ispis korisnika</h1>


<form:form modelAttribute="userForm" action="persist.action">
	<h1>It's OK</h1>
	<b> ${userForm.ime} </b>
	<b> ${userForm.prezime} </b>
	<b> ${userForm.idUser} </b>
	<b> ${userForm.datum} </b>
	<input type="submit" />
	<form:hidden path="ime"/>
	<form:hidden path="prezime"/>
	<form:hidden path="idUser"/>
	<form:hidden path="password"/>
	<form:hidden path="datum"/>
</form:form>


</body>

</html>